package com.qingfeng.medical.biz.auth.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qingfeng.medical.biz.auth.domain.entity.SysUserRole;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 清风学Java
 * @version 1.0.0
 * @date 2023/4/2
 */
@Repository
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {

    /**
     * 清理已经废弃的用户角色信息
     * @param userIds
     */
    void deleteUserRole(@Param("userIds") List<Long> userIds);
}